Skip to main content

GetBucketInfo

Description

GetBucketInfo operation is used to view bucket related information.

Request Method

POST

Request Path

/apsara/route/OneRouter/GetBucketInfo

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
AccessControlListBODYcontainerNoNo sample value for this parameter.container for storing ACL information.
CreationDateBODYtimeNoNo sample value for this parameter.Bucket creation time.
GrantBODYenumeration stringNoNo sample value for this parameter.bucket ACL permissions. valid values: private, public-read, public-read-write
OwnerBODYcontainerNoNo sample value for this parameter.container for storing bucket owner information.
versionBODYstringNo2016-01-01version of api
NameBODYstringNoNo sample value for this parameter.Bucket name.
BucketBODYcontainerNoNo sample value for this parameter.The container that holds specific information about the bucket.
regionIdBODYstringYesNo sample value for this parameter.region id
ExtranetEndpointBODYstringNoNo sample value for this parameter.external network Endpoint.
DisplayNameBODYstringNoNo sample value for this parameter.the name of the bucket owner (currently the same as the ID).
BucketInfoBODYcontainerNoNo sample value for this parameter.container for storing bucket information content.
IDBODYstringNoNo sample value for this parameter.the user ID of the bucket owner.
IntranetEndpointBODYstringNoNo sample value for this parameter.intranet Endpoint.
LocationBODYstringNoNo sample value for this parameter.The area of the data center where the bucket is located.

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}